@import './font.wxss';
@import '../../resources/styles/variable.less';

page {
  line-height: 1;
  font-family: 'PingFang SC', 'STHeitiSC-Light', 'Helvetica-Light', Arial,
    sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  font-size: 28rpx;
  color: #121313;
}
@media (-webkit-min-device-pixel-ratio: 1.5), (min-device-pixel-ratio: 1.5) {
  .border-1px {
    &::after {
      transform: scaleY(0.7);
    }
  }
}
@media (-webkit-min-device-pixel-ratio: 2), (min-device-pixel-ratio: 2) {
  .border-1px {
    &::after {
      transform: scaleY(0.5);
    }
  }
}

/* 隐藏滚动条 */
::-webkit-scrollbar {
  width: 0;
  height: 0;
  color: transparent;
}

//去除button默认样式
button {
  border: none;
  border-radius: 0;
  margin: 0;
  padding: 0;
  background-color: none;
}

button::after {
  border: none;
  border-radius: 0;
  background-color: none;
}

.placeholder {
  font-size: 28rpx;
  color: #c3c5c9;
}
.container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.gary-bg {
  background: #eeeeee;
  min-height: 100%;
}

// 垂直居中
.vel-middle {
  display: flex;
  justify-content: center;
  align-items: center;
}

.common-btn {
  width: 100%;
  height: 90rpx;
  background: #565966;
  border-radius: 10rpx;
  color: #fff;
  font-size: 36rpx;
}
.comfirm-btn {
  position: absolute;
  width: 590rpx;
  left: 50%;
  margin-left: -295rpx;
  bottom: 100rpx;
}
/* 字体超出显示三个点 */
.overflow-txt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.overflow-2line {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.font-40 {
  font-size: 40rpx;
}
.font-34 {
  font-size: 34rpx;
}
.font-32 {
  font-size: 32rpx;
}
.font-30 {
  font-size: 30rpx;
}
.font-28 {
  font-size: 28rpx;
}
.font-26 {
  font-size: 26rpx;
}
.font-24 {
  font-size: 24rpx;
}
.font-22 {
  font-size: 22rpx;
}
.left-20 {
  padding-left: 20rpx;
}
.bottom-30 {
  margin-bottom: 30rpx;
}
.bottom-40 {
  margin-bottom: 40rpx;
}
.height-half {
  line-height: 1.5;
}
.height-more{
  line-height: 1.8;
}
.padbtm-40 {
  padding-bottom: 40rpx;
}
.active-color {
  color: @active-color;
}
.gary-color {
  color: @gary-font;
}
.arrow-rt {
  transform: rotate(-90deg);
}
.arrow-top {
  transform: rotate(-180deg);
}
.course-tag {
  position: absolute;
  background: @black-font;
  color: @active-color;
  padding: 6rpx 12rpx;
  border: 1rpx solid transparent;
  box-sizing: border-box;
  border-radius: 6rpx;
  left: 20rpx;
  top: 20rpx;
}
.flex {
  display: flex;
}
.circle {
  border-radius: 50%;
}
.com-border {
  border: 1rpx solid #c3c5c9;
  box-sizing: border-box;
}
.pos-relative {
  position: relative;
}

.auto-img {
  width: 100%;
  height: 100%;
}

.nomore {
  text-align: center;
  height: 80rpx;
  width: 100%;
  line-height: 80rpx;
  font-size: 26rpx;
}
.nomore-btm {
  margin-bottom: 100rpx;
}
